# @Time : 2021/9/30 16:08
# @Author : Li Kunlun
# @Description : 为《中复神鹰碳纤维数据》绘制图像

import matplotlib.pyplot as plt
import numpy as np

print("------------绘制原液固含量变化情况图像----------------")
# 准备绘制的点


x = [1350, 1370, 1390, 1400, 1420, 1450, 1480, 1500]
y = [3.65, 3.72, 3.9, 4.0, 4.1, 4.3, 4.35, 3.9]
x = np.linspace(1, 134, 134)
y = [19.1, 19.2, 19.2, 19.2, 19.3, 19.2, 19.5, 19.3, 19.2, 19.2, 19.2, 19.3, 19.1, 19.2, 19.3, 19.1, 19.2, 19.2, 19.3,
     19.1, 19.1, 19.2, 19.1, 19.1, 19.3, 19.2, 19.2, 19.2, 19.1, 19.1, 19.3, 19.2, 19.1, 19.3, 19.3, 19.3, 19.2, 19.2,
     19.2, 19.3, 19.1, 19.2, 19.1, 19.1, 19.2, 19.1, 19.3, 19.3, 19.2, 19.3, 19.1, 19.2, 19.1, 19.1, 19.3, 19.2, 19.2,
     19.2, 19.1, 19.1, 19.3, 19.2, 19.1, 19.3, 19.3, 19.3, 19.2, 19.2, 19.2, 19.1, 19.1, 19.2, 19.1, 19.1, 19.2, 19.1,
     19.3, 19.3, 19.2, 19.3, 19.2, 19.3, 19.1, 19.2, 19.3, 19.1, 19.2, 19.2, 19.3, 19.1, 19.1, 19.2, 19.1, 19.1, 19.2,
     19.1, 19.3, 19.3, 19.2, 19.3, 19.2, 19.3, 19.1, 19.2, 19.3, 19.1, 19.2, 19.2, 19.3, 19.1, 19.2, 19.3, 19.1, 19.2,
     19.3, 19.1, 19.2, 19.2, 19.3, 19.1, 19.1, 19.2, 19.1, 19.1, 19.2, 19.1, 19.3, 19.3, 19.2, 19.3, 15.2, 5.9, 0,
     19.6]

# 调用绘制方法
plt.plot(x, y, linewidth=1, color="r")
plt.savefig('strength03')
# 显示图
plt.show()
